﻿{extend name="public:base" /}

{block name="css"}
<link href="__ADMIN__/css/style.css" rel="stylesheet">
{/block}

{block name="content"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-content">
                    <div class="layui-form fairy-form">
                        <button id="testUser" target="_blank" type="button" class="btn btn-w-m btn-primary" style="color: #FFFFFF; margin: 0 0 10px 2px;">
                            获取某个用户满足条件的培育路线
                        </button>

                        <button id="testProfit" target="_blank" type="button" class="btn btn-w-m btn-primary" style="color: #FFFFFF; margin: 0 0 10px 2px;">
                            用户下单成功支付回调中新增 直推/级差 收益
                        </button>

                        <br>

                        <button id="testSearchUser" target="_blank" type="button" class="btn btn-w-m btn-primary" style="color: #FFFFFF; margin: 0 0 10px 2px;">
                            模拟服务津贴查询符合条件用户
                        </button>

                        <button id="testAllowance" target="_blank" type="button" class="btn btn-w-m btn-primary" style="color: #FFFFFF; margin: 0 0 10px 2px;">
                            用户下单成功支付回调中新增服务津贴
                        </button>

                        <br>

                        <button id="testGear" target="_blank" type="button" class="btn btn-w-m btn-primary" style="color: #FFFFFF; margin: 0 0 10px 2px;">
                            获取用户的服务商档数
                        </button>
                    </div>
                    <iframe width="850" height="300"></iframe>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}

{block name="js"}
<script>
    $('#testUser').click(function () {
        $("iframe").attr('src', "{:url('testUser')}")
    })
    $('#testProfit').click(function () {
        $("iframe").attr('src', "{:url('/index/notify/testProfit')}")
    })
    $('#testSearchUser').click(function () {
        $("iframe").attr('src', "{:url('/index/notify/testUp')}")
    })
    $('#testAllowance').click(function () {
        $("iframe").attr('src', "{:url('/index/notify/testAllowance')}")
    })
    $('#testGear').click(function () {
        $("iframe").attr('src', "{:url('testGear')}")
    })
</script>
{/block}
